SetEth0Info. Set Ethernet network address information.

Request

<?xml version="1.0" encoding="utf-8"?>

<sdk>

<in method="SetEth0Info">

<eth valid="##valid">

<enable value="##enable"/>

<dhcp auto="##dhcp"/>

<address ip="##ip" netmask="##netmask" gateway="##gateway" dns="##dns"/>

</eth>

</in>

</sdk>

 

<!--

Description:

    1. Sdk.guid is the guid value obtained through the negotiation of the SDK protocol version.

    2. in.method = "SetEth0Info"

    3. eth.valid = "true"

    4. enable.value = "true"

    5. dhcp.auto Value range {"true" (dhcp gets ip address), "false" (static ip address)}

    6. dhcp.auto When the value is "true", the attribute values {ip, netmask, gateway, dns} in the address can be set to "".

    7. dhcp.auto When the value is "false", the attribute value {ip, netmask, gateway, dns} in the address must be set.

    8. address.ip: ip address

    9. address.netmask: netmask

    10.address.gateway: gateway

    11.address.dns: dns

-->

Respond

<?xml version="1.0" encoding="utf-8"?>

<sdk guid="##GUID">

<out method="SetEth0Info" result="##result"/>

</sdk>

 

<!--

Description:

    1. Sdk.guid is the guid value obtained through the negotiation of the SDK protocol version.

    3. out.result  (The error code refers toErrorCode .)

-->